<?php

	session_start();
		
	$pg = $_GET['pg'];	
	
	if($pg==""){
		require ("login.php");
	}else{
			
			if(file_exists($pg.".php")){
				require ($pg.".php");
			}else{
				require ("login.php");	
			}
	}

	
?>